package com.ykt.service;

import java.util.List;

import com.ykt.converter.ServiceConverter;
import com.ykt.model.Service;
import com.ykt.vo.ServiceVo;

/**
 * 售后服务
 *
 */
public class ServiceService {


    // 根据orderId查询服务
    public List<ServiceVo> findByOrderId(int orderId){
    	
    	List<Service> serviceList = Service.dao.findByOrderId(orderId);
    	List<ServiceVo> serviceVos = ServiceConverter.convert(serviceList);
    	
        return serviceVos;
    }

}
